package pl.krzosekm.vehicleregister.service;

import org.apache.log4j.Logger;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;


@Transactional(propagation = Propagation.REQUIRED, readOnly = false)
public abstract class BaseService {
	private Logger logger = Logger.getLogger(this.getClass());

	public Logger getLogger() {
		return logger;
	}

	public void setLogger(Logger logger) {
		this.logger = logger;
	}
}
